package com.wenyu.wenyuyuedu.bean;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Administrator on 2017/3/14.
 * 服务器返回的数据
 */

public class WXPlayBean {


    /**
     * code : 1
     * msg : 操作成功
     * info : {"appid":"wx645768d32ba61b12","partnerid":"1446415102","prepayid":"wx2017032114365940af7c4d460152198619","package":"Sign=WXPay","noncestr":"m3Hctj2OxT8o514cUUPpbuvuiRFXXaE2","timestamp":"1490078219","sign":"5BF608E12B119DFF58AAC6261A8C9796"}
     */

    private int code;
    private String msg;
    private InfoBean info;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public InfoBean getInfo() {
        return info;
    }

    public void setInfo(InfoBean info) {
        this.info = info;
    }

    public static class InfoBean {
        /**
         * appid : wx645768d32ba61b12
         * partnerid : 1446415102
         * prepayid : wx2017032114365940af7c4d460152198619
         * package : Sign=WXPay
         * noncestr : m3Hctj2OxT8o514cUUPpbuvuiRFXXaE2
         * timestamp : 1490078219
         * sign : 5BF608E12B119DFF58AAC6261A8C9796
         */

        private String appid;
        private String partnerid;
        private String prepayid;
        @SerializedName("package")
        private String packageX;
        private String noncestr;
        private String timestamp;
        private String sign;

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getPartnerid() {
            return partnerid;
        }

        public void setPartnerid(String partnerid) {
            this.partnerid = partnerid;
        }

        public String getPrepayid() {
            return prepayid;
        }

        public void setPrepayid(String prepayid) {
            this.prepayid = prepayid;
        }

        public String getPackageX() {
            return packageX;
        }

        public void setPackageX(String packageX) {
            this.packageX = packageX;
        }

        public String getNoncestr() {
            return noncestr;
        }

        public void setNoncestr(String noncestr) {
            this.noncestr = noncestr;
        }

        public String getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(String timestamp) {
            this.timestamp = timestamp;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }
    }
}
